Documentation
Overview:
This project demonstrates the use of interfaces, enums and class implementation in Java to calculate time based values.
Features:
• In Java the code defines an interface DayCalculator with methods to get the total hours in a day and compute the remaining hours based on the current time.
• On the front end, the same logic is re-imagined as an Interactive interface where users can input days to calculate total hours — effectively mirroring the backend logic visually.
Key Takeaway:
• Learned how to define and implement interfaces in Java.
• Inheritance and polymorphism let child classes customize behaviour.